package com.xh.bussiness.exam.dao;

import com.xh.bussiness.exam.bean.request.ExerciseRequest;
import com.xh.bussiness.exam.model.Exercise;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.xh.core.bean.XhPage;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 课堂练习记录表 Mapper 接口
 * </p>
 *
 * @author Pitt Cheung
 * @since 2021-08-26
 */
public interface ExerciseMapper extends BaseMapper<Exercise> {
    XhPage<ExerciseRequest> selectExercisePage(XhPage page, @Param("userId") String userId);
    String selectAttendanceRate(@Param("bean") ExerciseRequest bean);
    List<String> queryCurrIdsEvaluation(@Param("classId") String classIds);
}
